package com.community.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * @author heyuhang
 * @create 2024/6/19
 */
@Data
@TableName("collect")
public class Collect {

    @TableId(type = IdType.AUTO)
    private Integer id;

    private String name;

    @TableField("img_link")
    private String imgLink;

    private Double price;

    @TableField("is_collect")
    private Integer isCollect;

    @TableField("creat_time")
    private LocalDateTime createTime;
}
